public class Yushu_Offering extends OfferingStrategy
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel| Constructor and Description |
|---|
Yushu_Offering()
Empty constructor called by BOA framework.
|
| Modifier and Type | Method and Description |
|---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
void |
init(NegotiationSession domainKnow,
OpponentModel model,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
getHelper, getNextBid, isEndNegotiation, setNextBidpublic Yushu_Offering()
public void init(NegotiationSession domainKnow, OpponentModel model, OMStrategy omStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategyinit in class OfferingStrategydomainKnow - state of the negotiation.model - opponent model which may be used.omStrategy - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.java.lang.Exception - if the offering strategy fails to initialize.public BidDetails determineOpeningBid()
OfferingStrategydetermineOpeningBid in class OfferingStrategypublic BidDetails determineNextBid()
OfferingStrategydetermineNextBid in class OfferingStrategy